home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / msql-1.0.6 / src / common / site.h < prev    next >
C/C++ Source or Header  |  1995-05-28  |  1KB  |  68 lines

  1. /*
  2. **    site.h    - local configuration parameters
  3. **
  4. **
  5. ** Copyright (c) 1993  David J. Hughes
  6. **
  7. ** Permission to use, copy, and distribute for non-commercial purposes,
  8. ** is hereby granted without fee, providing that the above copyright
  9. ** notice appear in all copies and that both the copyright notice and this
  10. ** permission notice appear in supporting documentation.
  11. **
  12. ** This software is provided "as is" without any expressed or implied warranty.
  13. **
  14. ** ID = "site.h,v 1.3 1994/08/19 08:02:57 bambi Exp"
  15. */
  16.  
  17.  
  18.  
  19. /**************************************************************************
  20. ***************************************************************************
  21. **
  22. **        config details
  23. **
  24. ***************************************************************************
  25. **************************************************************************/
  26.  
  27.  
  28. /*
  29. ** TCP port for the MSQL daemon
  30. */
  31.  
  32. #ifdef ROOT_EXEC
  33. #define MSQL_PORT    1112
  34. #else
  35. #define MSQL_PORT    4333
  36. #endif
  37.  
  38.     
  39. /*
  40. ** UNIX Domain socket for MSQL daemon
  41. */
  42.  
  43. #ifdef ROOT_EXEC
  44. #define MSQL_UNIX_ADDR    "/dev/msql"
  45. #else
  46. #define MSQL_UNIX_ADDR    "/tmp/msql.sock"
  47. #endif
  48.  
  49.  
  50. /*
  51. ** Define language for error messages
  52. */
  53.  
  54. #define    ENGLISH
  55. /*#define    GERMAN */
  56.  
  57.  
  58.  
  59. /*
  60. ** Max length for a path name
  61. */
  62.  
  63. #ifndef MAX_PATH_LEN
  64. #  define MAX_PATH_LEN    160
  65. #endif
  66.  
  67. #include "common/config.h"
  68.